---
extends: default

ignore-from-file:
  - .gitignore
  - .yamlignore

yaml-files:
  - "*.yaml"
  - "*.yml"
  - .config/ansible-lint.yml
  - .yamllint.yml

rules:
  braces:
    max-spaces-inside: 1
    level: error
  document-start: enable
  document-end: disable
  truthy: enable
  quoted-strings:
    quote-type: any
    required: only-when-needed
  key-duplicates: enable
  line-length: disable
  new-line-at-end-of-file: enable
  new-lines:
    type: unix
  trailing-spaces: enable
  comments:
    min-spaces-from-content: 1
  empty-lines:
    max: 1
    max-start: 0
    max-end: 0
